registryvalue.htmlHTMLudogAhπùΔ§πùΔ§ÅÅáı Monkeybread Realbasic plugin - Documentation - RegistryValue

MBS Plugin Documentation

This is the documentation for the Realbasic Plugins from Monkeybreadsoftware.de. You find these plugins and the newest version of this document at http://www.monkeybreadsoftware.de/realbasic inside the plugins section.

This help was last updated on Freitag, 6. September 2002 and covers 2136 items: 126 classes, 2 controls and 583 global functions.

The list of the themes Global methods by category Global methods by name The list of the classes The list of the controls

class RegistryValue

class, Windows Registry Mo, 15. Jul 2002
Mac OS Classic: Does nothing. Mac OS Carbon: Does nothing. Windows: Works.
Function: Gives you access to a value of a Registry Key.

asBinary as Memoryblock

property, Windows Registry Mo, 15. Jul 2002
Mac OS Classic: Does nothing. Mac OS Carbon: Does nothing. Windows: Works.
Function: Returns the value as a memoryblock.
Notes: Can also be used to set the value.

asBinaryString as String

property, Windows Registry Mo, 15. Jul 2002
Mac OS Classic: Does nothing. Mac OS Carbon: Does nothing. Windows: Works.
Function: Returns the value as a string with binary content.
Notes:
This string may include chr(0).
Can also be used to set the value.

asLong32 as integer

property, Windows Registry Mo, 15. Jul 2002
Mac OS Classic: Does nothing. Mac OS Carbon: Does nothing. Windows: Works.
Function: Returns the value as a 32bit integer.
Notes: Can also be used to set the value.

asLong64 as double

property, Windows Registry Mo, 15. Jul 2002
Mac OS Classic: Does nothing. Mac OS Carbon: Does nothing. Windows: Works.
Function: Returns the value as a 64bit integer.
Example: v.aslong64=v.aslong64+1 // add one
Notes:
The value is put into a double variable, because RB does not have a 64 bit integer data type.
Can also be used to set the value.

asString as string

property, Windows Registry Mo, 15. Jul 2002
Mac OS Classic: Does nothing. Mac OS Carbon: Does nothing. Windows: Works.
Function: Returns the value as a string.
Notes: Can also be used to set the value.

Delete as boolean

method, Windows Registry Mo, 15. Jul 2002
Mac OS Classic: Does nothing. Mac OS Carbon: Does nothing. Windows: Works.
Function: Deletes this value.
Notes: The RegistryValue object should be destroyed after deleting.

isBinary as boolean

property, Windows Registry Mo, 15. Jul 2002
Mac OS Classic: Does nothing. Mac OS Carbon: Does nothing. Windows: Works.
Function: Returns true if the value is binary data.

isLong32 as boolean

property, Windows Registry Mo, 15. Jul 2002
Mac OS Classic: Does nothing. Mac OS Carbon: Does nothing. Windows: Works.
Function: Returns true if the value is a 32 bit integer.

isLong64 as boolean

property, Windows Registry Mo, 15. Jul 2002
Mac OS Classic: Does nothing. Mac OS Carbon: Does nothing. Windows: Works.
Function: Returns true if the value is a 64 bit Integer.

isString as boolean

property, Windows Registry Mo, 15. Jul 2002
Mac OS Classic: Does nothing. Mac OS Carbon: Does nothing. Windows: Works.
Function: Returns true if the value is a string.

name as string

property, Windows Registry Mo, 15. Jul 2002
Mac OS Classic: Does nothing. Mac OS Carbon: Does nothing. Windows: Works.
Function: Returns the name of the Value.

SetBinaryMem(typ as integer,data as Memoryblock)

property, Windows Registry Mo, 15. Jul 2002
Mac OS Classic: Does nothing. Mac OS Carbon: Does nothing. Windows: Works.
Function: Sets the value to the content of the memoryblock.
Notes:
Type may be one of this values:
0No value type
1Nul terminated string
2Nul terminated string (with environment variable references)
3Free form binary
432-bit number (LittleEndian)
532-bit number (BigEndian)
6Symbolic Link (unicode)
7Multiple Unicode strings
8Resource list in the resource map
9Resource list in the hardware description
10Resource requirements list
1164-bit number

SetBinaryStr(typ as integer,data as String)

property, Windows Registry Mo, 15. Jul 2002
Mac OS Classic: Does nothing. Mac OS Carbon: Does nothing. Windows: Works.
Function: Sets the value to the content of the string.
Notes:
Type may be one of this values:
0No value type
1Nul terminated string
2Nul terminated string (with environment variable references)
3Free form binary
432-bit number (LittleEndian)
532-bit number (BigEndian)
6Symbolic Link (unicode)
7Multiple Unicode strings
8Resource list in the resource map
9Resource list in the hardware description
10Resource requirements list
1164-bit number

size as integer

property, Windows Registry Mo, 15. Jul 2002
Mac OS Classic: Does nothing. Mac OS Carbon: Does nothing. Windows: Works.
Function: Returns the size of this value.

type as integer

property, Windows Registry Mo, 15. Jul 2002
Mac OS Classic: Does nothing. Mac OS Carbon: Does nothing. Windows: Works.
Function: Returns the type of the value.
Notes:
Type may be one of this values:
0No value type
1Nul terminated string
2Nul terminated string (with environment variable references)
3Free form binary
432-bit number (LittleEndian)
532-bit number (BigEndian)
6Symbolic Link (unicode)
7Multiple Unicode strings
8Resource list in the resource map
9Resource list in the hardware description
10Resource requirements list
1164-bit number

Contact

Written 2002 by Christian Schmitz. Feel free to ask or report mistakes to realbasic@macsw.de.
Thanks.

This resource fork intentionally left blank ˇˇ